<?php

Raise::load('core.helper.convert.RaiseAbstractConverter');

/**
 * Object Converter helper class
 * for object conversion
 * 
 * @author Sam-Mauris Yong / hellclanner at live dot com
 * @license http://www.opensource.org/licenses/bsd-license New BSD License
 * @package phpraise.core.helper.convert.datatype
 * @since 1.2
 */
class RaiseObjectConverter extends RaiseAbstractConverter {
    
    /**
     * Convert the subject to object
     * @param mixed $subject The subject to convert
     * @return object The result
     */
    public function convert($subject) {
        return (object)$subject;
    }
    
}